package com.gegewa.observer;

public class FemalePassenger implements Passenger {

    private Broadcast broadcast;

    public FemalePassenger(Broadcast broadcast) {
        this.broadcast = broadcast;
    }

    @Override
    public void getOffTheBus() {
        System.out.println("female passenger get off the bus, station name is " + broadcast.getStationName());
    }

}
